<?php
$action = "user/login";
?>
<div id="frame" class="outline">
    <?php if ($errormsg != '') { ?>
        <b><?php echo $errormsg; ?></b>
        <?php
    }
    echo form_fieldset();
    echo form_open($action);
    echo form_label('Login', 'login');
    echo form_input("login", $login, 'id=login') . "<br>";
    echo form_label('Senha', 'password');
    echo form_password("password", '', 'id=password') . "<BR>";
    echo form_submit('entrar', 'Entrar');
    echo form_fieldset_close();
    ?>
</div>
